<table align="left" id="ImgList" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <%
    Article.find(:all,:conditions=>["categoryt_id=:categoryt_id and published=1",{:categoryt_id=>2}],:limit=>6,:order=>'created_at desc').each do |article|
  %>
  <td align="left" valign="bottom" class="imgBlockBox"><div class="imgBlock"> <a href="http://84.234.17.41:3009/cat/<%=article.category_id%>/articles/<%=article.id%>" > <img src='<%= article.media_url.to_s.gsub(/\'/,"\\\\'") %>' border="0" onmouseover="ShowText('imgName','<%=h Category.find(article.category_id).name.gsub(/\'/,"\\\\'") %>:');ShowText('imgNote','<%=h article.title.gsub(/\'/,"\\\\'") %>')" /></a></div></td>
  <% end %>
  </tr>
</table>